/*
 * by cansik / Florian
 * Datum: 07.05.2010
 * Zeit: 07:40
 * 
 *
 */
using System;
using System.Drawing;

namespace PixelReplacer
{
	/// <summary>
	/// XY Point which contains a Rule
	/// </summary>
	public class RulePoint
	{
        /// <summary>
        /// Location of the Point
        /// </summary>
		public Point Coordinates{get; set;}
        /// <summary>
        /// Rule which matches with this Point
        /// </summary>
		public PixelRule Rule{get; set;}

        /// <summary>
        /// Original Color of the Pixel
        /// </summary>
        public Color OriginalColor { get; set; }
		
        /// <summary>
        /// XY Point which contains a Rule
        /// </summary>
		public RulePoint()
		{
		}
		
        /// <summary>
        /// XY Point which contains a Rule
        /// </summary>
        /// <param name="Coordinates">Location of the Point</param>
        /// <param name="Rule">Rule which matches with this Point</param>
		public RulePoint(Point Coordinates, PixelRule Rule, Color c)
		{
			this.Coordinates = Coordinates;
			this.Rule = Rule;
            this.OriginalColor = c;
		}
	}
}
